package com.itheima.baozhuanglei;

public class Demo04 {

    public static void main(String[] args) {
        String s="123";
        int i=Integer.valueOf(s);
        int i1 = Integer.parseInt(s);
        System.out.println(i);
        System.out.println(i1);
        int j=10;
        String s1=j+"";
        String s2 = String.valueOf(j);
        System.out.println(s1);
        System.out.println(s2);

    }
}
